import request from '@/utils/request'

// 查询车牌识别列表
export function listCar_device(query) {
  return request({
    url: '/business/car_device/list',
    method: 'get',
    params: query
  })
}

// 查询车牌识别详细
export function getCar_device(carDeviceId) {
  return request({
    url: '/business/car_device/' + carDeviceId,
    method: 'get'
  })
}

// 新增车牌识别
export function addCar_device(data) {
  return request({
    url: '/business/car_device',
    method: 'post',
    data: data
  })
}

// 修改车牌识别
export function updateCar_device(data) {
  return request({
    url: '/business/car_device',
    method: 'put',
    data: data
  })
}

// 删除车牌识别
export function delCar_device(carDeviceId) {
  return request({
    url: '/business/car_device/' + carDeviceId,
    method: 'delete'
  })
}

// 导出车牌识别
export function exportCar_device(query) {
  return request({
    url: '/business/car_device/export',
    method: 'get',
    params: query
  })
}